layui.define(['jquery'],function(exports){
	var $ = layui.$
	,obj = {
		
    	ex: function(time,url){
			console.log('HelloWorld!');
		}
		
		,menuActive:function(){
			$("#displayICO").on("click","",function(){
				if($(this).hasClass("layui-icon-shrink-right")){
					$(this).removeClass("layui-icon-shrink-right");
					$(this).addClass("layui-icon-spread-left");
					$(".layui-side").animate({'width':'0px'});
					$(".layui-body").animate({'left':'0px'});
				} else {
					$(this).removeClass("layui-icon-spread-left");
					$(this).addClass("layui-icon-shrink-right");
					$(".layui-side").animate({'width':'200px'});
					$(".layui-body").animate({'left':'200px'});
				}
			});
		}
		
		,uploadCloseButton : function(){
			$('.layui-upload-list').on('click', '.closed', function(){
				$(this).parent('li').remove();
			});
		}
		
		
	};
	exports('functions', obj);
});    

//js一般函数库